package com.edu.dao;

import com.edu.entity.User;
import java.util.List;

public interface UserDao {
    void save(User user);
    User findById(Integer userId);
    User findByUsername(String username);
    List<User> findAll();
    void update(User user);
    void delete(Integer userId);
    boolean existsByUsername(String username);
}